#region (c) 2009 Abdullin.com and Contributors

// Copyright (c) 2009 Abdullin.com and Contributors
// Site: http://abdullin.com/ncouch
// This code is released under the terms of the new BSD licence

#endregion

using System;

namespace NCouch.Synthetic.Model
{
	sealed class Task : IEquatable<Task>
	{
		public Guid TaskID { get; set; }
		public string Title { get; set; }
		public bool Done { get; set; }
		public DateTime Created { get; set; }


		bool IEquatable<Task>.Equals(Task other)
		{
			return TaskID == other.TaskID
				&& Title == other.Title
					&& Done == other.Done
						&& Created == other.Created;
		}
	}
}